import request from "@/utils/request";

// 获取列表
export const getList = (params) => request.get("/biz/enterpriseProgress/list", { params });

// 新增
export const addItem = (data) => request.post("/biz/enterpriseProgress", data);

// 编辑
export const editItem = (data) => request.put("/biz/enterpriseProgress", data);

// 删除
export const delItem = (ids) => request.delete("/biz/enterpriseProgress/" + ids);

// 详情
export const getDetail = (userId) => request.get("/biz/enterpriseProgress/" + userId);

// 获取当前计划
export const getCurrentPlan = (id) => request.get("/biz/enterpriseProgress/detailByPlanId/" + id);